package com.liuyjy.utils.config;


import com.liuyjy.utils.utils.JwtTokenUtil;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Author liuyjy
 * @Date 2020/4/17 12:30
 * @Description: 配置
 **/
//@EnableAsync
@Configuration
public class UtilsConfig {



    @Bean
    @ConditionalOnMissingBean
    public JwtTokenUtil jwtTokenUtil() {
        return new JwtTokenUtil();
    }





}
